package com.atguigu.gmall.product.vo;

import lombok.Data;

import java.util.List;

/**
 * @author lfy
 * @Description
 * @create 2023-07-15 9:34
 */
@Data  //无限级嵌套的树形数据封装
public class CategoryTreeVo {

    private Long categoryId; //分类id
    private String categoryName;//分类名

    //递归嵌套
    private List<CategoryTreeVo> categoryChild;//子分类
}
